package mvn56.dao.impl;

import mvn56.dao.UserAopDao;

public class UserAopDaoImpl implements UserAopDao{

	@Override
	public void addUser() {	
		System.out.println("添加用户成功");				
	}

	@Override
	public void updateUser() {	
		System.out.println("更新用户成功");			
	}
	@Override
	public void delUser() {
		System.out.println("删除用户成功");
	
	}

	@Override
	public String getNameById(int id) {
         if(id==123) {
        	 return "Tom";
         }else {
		return "Nobody";
         }
	}

}
